Part Number Hot Search : 
5807FP 250916B RFCA8828 PT130 LSR31340 AC16D HD407 KIA3802F
Product Description
Full Text Search
 

To Download AN178 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 www..com
INTEGRATED CIRCUITS
e DataShe
.com
AN178 Modeling the PLL
1988 Dec
.com
Philips Semiconductors
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
INTRODUCTION
The phase-locked loop is a feedback system comprised of a phase comparator, a low-pass filter and an error amplifier in the forward signal path and a voltage-controlled oscillator (VCO) in the feedback path. The block diagram of a basic PLL system is shown in Figure 1. Perhaps the single most important point to realize when designing with the PLL is that it is a feedback system and, hence, is characterized mathematically by the same equations that apply to other, more conventional feedback systems. However, the parameters in the equations are somewhat different since the feedback error signal in the phase locked system is a phase rather than a current or voltage signal, as is usually the case in conventional feedback systems.
the difference frequency component ((I x O) is zero; hence, the output of the phase comparator contains only a DC component. The low-pass filter removes the sum frequency component (I + O) but passes the DC component which is then amplified and fed back to the VCO. Notice that when the loop is in lock, the difference frequency component is always DC, so the lock range is independent of the band edge of the low-pass filter.
LOCK AND CAPTURE
t4U.com
Consider now the case where the loop is not yet in lock. The phase comparator again mixes the input and VCO signals to produce sum and difference frequency components. However, the difference component may fall outside the band edge of the low-pass filter and e f be removed along with the sum frequency component. If this is the 1 " 1 " case, no information is transmitted around the loop and the VCO INPUT PHASE LOW-PASS Ve(t) Vd(t) remains at its initial free-running frequency. As the input frequency OUTPUT A SIGNAL COMPARATOR FILTER SIGNAL approaches that of the VCO, the frequency of the difference Kd F(s) Vi(t) component decreases and approaches the band edge of the | low-pass filter. Now some of the difference component is passed, Vo(t) i which tends to drive the VCO towards the frequency of the input o signal. This, in turn, decreases the frequency of the difference VOLTAGE component and allows more information to be transmitted through Vd(t) CONTROLLED the low-pass filter to the VCO. This is essentially a positive OSCILLATOR Ko feedback mechanism which causes the VCO to snap into lock with SL01011 the input signal. With this mechanism in mind, the term "capture range" can again be defined as `the frequency range centered about Figure 1. Block Diagram of Phase-Locked Loop the VCO initial free-running frequency over which the loop can acquire lock with the input signal'. The capture range is a measure PHASE-LOCKED LOOP OPERATION of how close the input signal must be in frequency to that of the .com The basic principle of the PLL operation can be briefly explained as VCO to acquire lock. The "capture range" can assume any value follows: within the lock range and depends primarily upon the band edge of the low-pass filter together with the closed-loop gain of the system. With no signal input applied to the system, the VCO control voltage It is this signal capturing phenomenon which gives the loop its Vd(t) is equal to zero. The VCO operates at a set frequency, fO' (or frequency-selective properties. the equivalent radian frequency ') which is known as the
O
e DataShe
free-running frequency. When an input signal is applied to the system, the phase comparator compares the phase and the frequency of the input with the VCO frequency and generates an error voltage Ve(t) that is related to the phase and the frequency diHerence between the two signals. This error voltage is then filtered, amplified, and applied to the control terminal of the VCO. In this manner, the control voltage Vd(t) forces the VCO frequency to vary in a direction that reduces the frequency difference between O and the input signal. If the input frequency I is sufficiently close to O, the feedback nature of the PLL causes the VCO to synchronize or lock with the incoming signal. Once in lock, the VCO frequency is identical to the input signal except for a finite phase difference. This net phase difference of e where qe + qo * qi (1)
It is important to distinguish the "capture range" from the "lock range" which can, again, be defined as `the frequency range usually centered about the VCO initial free-running frequency over which the loop can track the input signal once lock has been achieved'. When the loop is in lock, the difference frequency component at the output of the phase comparator (error voltage) is DC and will always be passed by the low-pass filter. Thus, the lock range is limited by the range of error voltage that can be generated and the corresponding VCO frequency deviation produced. The lock range is essentially a DC parameter and is not affected by the band edge of the low-pass filter.
THE CAPTURE TRANSIENT
The capture process is highly complex and does not lend itself to simple mathematical analysis. However, a qualitative description of the capture mechanism may be given as follows. Since frequency is the time derivative of phase, the frequency and the phase errors in the loop can be related as Dw + dq e dt (2)
is necessary to generate the corrective error voltage Vd to shift the VCO frequency from its free-running value to the input signal frequency I and thus keep the PLL in lock. This selfcorrecting ability of the system also allows the PLL to track the frequency changes of the input signal once it is locked. The range of frequencies over which the PLL can maintain lock with an input signal is defined as the "lock range" of the system. The band of frequencies over which the PLL can acquire lock with an incoming signal is known as the "capture range" of the system and is never greater than the lock range. Another means of describing the operation of the PLL is to observe that the phase comparator is in actuality a multiplier circuit that mixes the input signal with the VCO signal. This mix produces the .com difference frequencies shown in Figure 1. When sum and I O the loop is in lock, the VCO duplicates the input frequency so that 1988 Dec 2
where is the instantaneous frequency separation between the signal and VCO frequencies and e is the phase difference between the input signal and VCO signals. If the feedback loop of the PLL were opened between the low-pass filter and the VCO control input, then for a given condition of O and I the phase comparator output would be a sinusoidal beat note at a fixed frequency . If I and O were sufficiently close in
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
frequency, this beat note would appear at the filter output with negligible anenuation.
a. VCO Control Voltage Variation During Capture Transient
SL01013
Figure 3. Exhibited by First-Order Fast Capture Transient
EFFECT OF THE LOW-PASS FILTER
In the operation of the loop, the low-pass filter serves a dual function. First, by anenuating the high frequency error components at the output of the phase comparator, it enhances the interference-rejection characteristics; second, it provides a short-term memory for the PLL and ensures a rapid recapture of the signal if the system is thrown out of lock due to a noise transient. Decreasing the low-pass filter bandwidth has the following effects on system performance (Long Time Constant):
a. Oscillogram Showing a Capture Process
SL01012
t4U.com
Figure 2. Asynchronous Error Beat Frequency During the Capture Transient
Now suppose that the feedback loop is closed by connecting the low-pass filter output to the VCO control terminal. The VCO a. The capture process becomes slower, and the pull-in time frequency will be modulated by the beat note. When this happens, .com increases. itself will become a function of time. If, during this modulation process, the VCO frequency moves closer to b. The capture range decreases. w I, (i.e., decreasing Dw), then dq e decreases dt
e DataShe
and the output of the phase comparator becomes a slowly varying function of time. Similarly, if the VCO is modulated away from w I, dq e increases and the error voltage dt
c. Interference-rejection properties of the PLL improve since the error voltage caused by an interfering frequency is attenuated further by the low-pass filter. d. The transient response of the loop (the response of the PLL to sudden changes of the input frequency within the capture range) becomes underdamped. The last effect also produces a practical limitation on the low-pass loop filter bandwidth and roll-off characteristics from a stability standpoint. These points will be explained further in the following analysis.
becomes a rapidly varying function of time. Under this condition the beat note waveform no longer looks sinusoidal; it looks like a series of aperiodic cusps, depicted schematically in Figure 2a. Because of its asymmetry, the beat note waveform contains a finite DC component that pushes the average value of the VCO toward I and lock is established. When the system is in lock, is equal to zero and only a steady-state DC error voltage remains. Figure 2b displays an oscillogram of the loop error voltage Vd(t) in an actual PLL system during the capture process. Note that as lock is approached, is reduced, the low-pass filter anenuation becomes less, and the amplitude of the beat note increases. The total time taken by the PLL to establish lock is called the pull-in time. Pull-in time depends on the initial frequency and phase differences between the two signals as well as on the overall loop gain and the low-pass filter bandwidth. Under certain conditions, the pull-in time may be shorter than the period of the beat note and the loop can lock without an oscillatory error transient. A specific case to illustrate this is shown in Figure 3. The 565 PLL is shown acquiring lock within the first cycle of the input signal. The PLL was able to capture in this short time because it was operated as a first-order loop (no low-pass filter) and the input tone-burst .com was within its lock and capture range. frequency
MATHEMATICALLY DEFINING PLL OPERATION
As mentioned previously, the phase comparator is basically an analog multiplier that forms the product of an RF input signal, Vi(t), and the output signal, vo(t), from the VCO. Refer to Figure 1 and assume that the two signals to be multiplied can be described by V i(t) + V I sin w It V o(t) + V O sin (w Ot ) q e) (3) (4)
where I, O, and e are the frequency and phase difference (or phase error) characteristics of interest. The product of these two signals is an output voltage given by V e(t) + K 1V IV O(sinw It) [sine(w Ot ) q e)] (5)
where K1 is an appropriate dimensional constant. Note that the amplitude of ve(t) is directly proportional to the amplitude of the input signal Vl. The two cases of an unlocked loop (I O) and of a locked loop (I = O) are now considered separately.
1988 Dec
3
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
Unlocked State (I O) When the two frequencies to the phase comparator are not synchronized, the loop is not locked. Furthermore, the phase angle difference e in Equations 4 and 5 is meaningless lor this case since it can be eliminated by appropriately choosing the time origin. Using trigonometric identities, Equation 5 can be rewritten as v e(t) + K 1V IV O [cos(w I * w O)t 2 * cos(w I ) w O)t] (6)
amount from the reference phase angle of 90. This concept can be simplified by redefining e as q e + q r " Dq (13)
where r, is the inherent, reference phase shift of 90 and is the departure from this reference value. Now the VCO control voltage becomes v D + AK 1V IV O cos(q r " Dq) + " AK 2v IV O sin Dq Since the sine function is odd, a momentary change in contains information about which way to adjust the VCO frequency to correct and maintain the locked condition. The maximum range over which changes can be tracked is -90 to +90. This corresponds to a e range from 0 to 180. In addition to being an error signal, VD represents the demodulated output of an FM input applied as vin(t) assuming a linear VCO characteristic. Thus, FM demodulation can be accomplished with the PLL without the inductively-tuned circuits that are employed with conventional detectors. (14)
When ve(t) is passed through the low-pass filter, F(s), the sum frequency component is removed, leaving v f(t) + K 2V IV O cos (w I * w O)t (7)
where K2 is a constant. After amplification, the control voltage for the VCO appears as v d(t) + AK 2V IV O cos (w I * w O)t (8)
t4U.com
This equation shows that a beat frequency effect is established between I and O, causing the VCO's frequency to deviate by from O' in proportion to the signal amplitude (AK2VIVO) passing through the filter. If the amplitude of Vl is sufficiently large and if signal limiting or saturation does not occur, the VCO output frequency will be shifted from O' by some until lock is established where
DETERMINING PLL MODEL PARAMETERS
Since the PLL is basically an electronic servo loop, many of the analytical techniques developed for control systems are applicable to phase-locked systems. Whenever phase lock is established (9) w I + w O + w O " Dw between vi(t) and vo(t) the linear model of Figure 4 can be used to predict the If lock cannot be established, then either Vl is too small to drive the .com performance of the PLL system. Here i and o represent the phase angles associated with the input/output VCO to produce the necessary deviation or I is beyond the waveshapes, respectively; F(s) represents a generalized voltage dynamic range of the VCO, i.e., I >< O' . Remedies for these transfer function for the low-pass filter in the s complex frequency no lock conditions are: domain; and Kd and Ko are conversion gains of the phase 1. Increase Vl either internally or externally to the loop by providing comparator and VCO, respectively, each having units as shown. additional amplification. The 1/s term associated with the VCO accounts for the inherent 90 2. Increase the internal loop gain by adjusting upward (larger -3dB phase shift in the loop since the VCO converts a voltage to a frequency) the response of the low-pass filter. frequency and since phase is the integral of frequency. Thus the 3. Shift O' closer to the expected I. Establishing frequency lock VCO functions as an integrator in the feedback loop. leads to the second case where I = O.
f S) ) * e (S)
e DataShe
Locked State (I = O) When I and O are frequency synchronized, the output signal from the phase comparator for I = O= and a phase shift of e is v e(t) + K 1V IV O(sinwt) sin (wt ) q e) q e)] (10)
Kd
VOLTS RADIAN
VE (S)
Fs
VOLT VOLT
VF (S)
A VOLTS VOLT
VD (S)
(s)
K 1V IV O + [cosq e * cos (2wt ) 2
Ko S
RADIANS VOLT SEC.
SL01014
The low-pass filter removes the high frequency, AC component of ve(t), leaving only the DC component. Thus, v f(t) + K 2V IV O cos q e (11)
Figure 4. Linear Model of PLL System Specific values of Kd and Ko for all of Philips Semiconductors general purpose PLLs can be found in the sections describing the particular loop of interest. However, sometimes it may be desired to determine these conversion gains exactly for a specific device. The measurement scheme shown in Figure 5 can be used to determine Kd and Ko for a loop under lock. The function of the Khron-Hite filters is to extract the fundamental sinusoidal frequency component of their square wave inputs for application to the Gain-Phase Meter. If the input signal from the Function Generator is sinusoidal, then the first Khron-Hite filter may be eliminated. It is recommended to use high impedance oscilloscope probes so as to not distort the input of VCO waveshapes, thereby potentially altering their phase relationships. The frequency counter can be driven from the scope as shown, or connected directly to the input or VCO, provided its input impedance is large.
After amplification the DC voltage driving the VCO and maintaining lock within the loop is v d(t) + V D + AK 2V IV O cos q e (12)
Suppose I and O are perfectly synchronized to the free-running frequency O'. For this case, VD will be zero, indicating that e must be 90. Thus VD is proportional to the phase difference or phase error between i and o centered about a reference phase angle of 90. If I changes slightly from O', the first effect will be a change in e from 90. VD will adjust and settle out to some .com value to correct O; under this condition frequency lock is non-zero maintained with I = O. The phase error will be shifted by some 1988 Dec 4
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
)
1BIAS
VCC
FUNCTION GENERATOR
fI
BIAS AND GAIN SET
PLL UNDER TEST
KHRON-NITE FILTER #1 FREE-RUNNING FREQUENCY SET VCO OUT
LOW PASS FILTER
DVM
VD
f
KHRON-NITE FILTER #2 OSCILLOSCOPE FREQUENCY COUNTER
GAIN-PHASE METER
fIfo
SL01015
Figure 5. Measurement Scheme for Kd and Ko Determinations The procedure to follow for obtaining Kd and Ko is as follows: Kd is generally constant over wide frequency ranges, but is linearily related to the input signal amplitude. Ko is constant with input signal level but does vary linearily with fO'. Often it is convenient to specify a normalized Ko as (15)
t4U.com
1. Establish the desired external bias and gain conditions for the PLL under test.
2. With the Function Generator turned off, set the free-running K frequency of the loop via the timing capacitor and timing resistor K O(norm) + O rad .com fO V if appropriate. Monitor fO' with the Frequency Counter. 3. Turn on the Function Generator and check to make sure the amplitude of the input signal is appropriate for the particular loop under test. 4. Adjust the input frequency for lock. Lock is discernable on a dual-trace scope when the input and VCO waveforms are synchronized and stationary with respect to each other. One should be especially careful to check that locking has not occurred between the VCO and some harmonic frequency. Carefully inspect both waveshapes, making sure each has the same period. (If a second Frequency Counter is available, an alternate scheme can be used to confirm frequency locking. One frequency counter is used to monitor the input signal frequency, and the second counter is used for the VCO frequency. When the two counters display the same frequency, the PLL is locked.) 5. Set the input frequency to the free-running frequency and note the Gain-Phase Meter display. It should be approximately 90 10 nominally. Record the phase error, e, the VCO control voltage, VD, and the input frequency, fl. 6. Adjust fl for frequencies above and below fO' and record e and VD for each fl, as appropriate. 7. Making a plot of VD versus e is useful for checking the measurement data and the system's linearity. The slope of this plot (VD/e) is Kd in units of V/. Multiplying this slope by 180/ gives the desired Kd in volts/radian. 8. A plot of fl = fO versus VD while the loop remains locked will check the VCO linearity. The slope of this plot is Ko at the particular free-running frequency. The units of slope taken directly from the graph are Hz/V. Multiplying this slope figure by .com the desired Ko in units of radians/ volt-sec. 2 gives The Ko value at any desired free-running frequency then can be estimated as K O (@ any%f O ) + K o(norm)f O AThe loop gain for the PLL system is K v + K dK o A
e DataShe
(16)
(17)
(Often when the gain A is due to an amplifier internal to the IC, A will be included in either Kd or Ko. This is further illustrated in the article on the 565 PLL.)
MODELING THE PLL SYSTEM WITH VARIOUS LOW-PASS FILTERS
The open-loop transfer function for the PLL is T(s) + K VF(s) s (18)
Using linear feedback analysis techniques, and assuming that the VCO is in the forward path, the closed-loop transfer characteristics H(s) can be related to the open-loop performance as H(s) + 1) T(s) T(s) (19)
and the roots of the characteristic system polynomial can be readily determined by root-locus techniques. From these equations, it is apparent that the transient performance and frequency response of the loop is heavily dependent upon the choice of filter and its corresponding transfer characteristic, F(s).
1988 Dec
5
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
Zero-Order Filter -- F(s) = 1
The simplest case is that of the first-order loop where F(s)= 1 (no filter). The closed-loop transfer function then becomes H(s) + KV S) KV (20)
This transfer function gives the root locus as a function of the total loop gain Kv and the corresponding frequency response shown in
Figure 6a. The open-loop pole at the origin is due to the integrating action of the VCO. Note that the frequency response is actually the amplitude of the difference frequency component versus modulating frequency when the PLL is used to track a frequency-modulated input signal. Since there is no low-pass filter in this case, sum frequency components are also present at the phase comparator output and must be filtered outside of the loop if the difference frequency component (demodulated FM) is to be measured.
t4U.com
e DataShe
.com
SL01016
Figure 6. Root Locus and Frequency Response Plots
.com
1988 Dec
6
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
First-Order Filter
With the addition of a single-pole low-pass filter F(s) of the form F(s) + 1) 1 t 1s (21)
CALCULATING LOCK AND CAPTURE RANGES
In terms of the basic gain expression in the and system, the lock range of the PLL L can be shown to be numerically equal to the DC loop gain (2-sided lock range). 2w L ) 4p f L ) K VF(0) (23)
where 1 = R1C1, the PLL becomes a second-order system with the root locus shown in Figure 6b. Again, an open-loop pole is located at the origin because of the integrating action of the VCO. Another open-loop pole is positioned on the real axis at -1/1 where 1 is the time constant of the low-pass filter. One can make the following observations from the root locus characteristics of Figure 6b: a. As the loop gain Kv increases for a given choice of 1, the imaginary part of the closed-loop poles increases: thus, the natural frequency of the loop increases and the loop becomes more and more under-damped. b. If the filter time constant is increased, the real part of the closed-loop poles becomes smaller and the loop damping is reduced. As in any practical feedback system, excess shifts or non-dominant poles associated with the blocks within the PLL can cause the root loci to bend toward the right half plane as shown by the dashed line in Figure 6b. This is likely to happen if either the loop gain or the filter time constant is too large and may cause the loop to break into sustained oscillations.
where F(O) is the value of the low-pass filters transfer function at DC. Since the capture range C denotes a transient condition, it is not as readily derived as the lock range. However, an approximate expression for the capture range can be wrinen as (2-sided capture range). 2w C + 4p f C [ K V | F(iw C) | (24)
where F(iC) is the magnitude of the low-pass filter transfer function evaluated at C. Solution of Equation 24 frequently involves a "trial and error" process since the capture range is a function of itself. Note that at all times the capture range is smaller than the lock rage. For the simple first-order lag filter of Figure 6b, the capture range can be approximated as 2w c [ 2 wL t1 +2 KV t1 (25)
t4U.com
This approximation is valid for t
1
First-Order Lag-Lead Filter
.com
1 2w L
(26)
e DataShe
The stability problem can be eliminated by using a lag-lead type of filter, as indicated in Figure 6c. This type of a filter has the transfer lock range. For the simple first-order lag filter function F(s) + 1) 1 ) t 2s (tau 1 ) t 2)s (22)
Equations 23 and 24 show that the capture range increases as the low-pass filter time constant is decreased, whereas the lock range is unaffected by the filter and is determined solely by the loop gain.
where 2 = R2C and 1 = R1C. By proper choice of R2, this type of filter confines the root locus to the left half-plane and ensures stability. The lag-lead filter gives a frequency response dependent on the damping, which can now be controlled by the proper adjustment of 1 and 2. In practice, this type of filter is important because it allows the loop to be used with a response between that of the firstand second-order loops and it provides an additional control over the loop transient response. If R2 = 0, the loop behaves as a second-order loop and as R2 , the loop behaves as a first-order loop due to a pole-zero cancellation. However, as first-order operation is approached, the noise bandwidth increases and interference rejection decreases since the high frequency error components in the loop are now attenuated to a lesser degree.
Second- and Higher-Order Filters
Second- and higher-order filters, as well as active filters, occasionally are designed and incorporated within the PLL to achieve a particular response not possible or easily obtained with zero or first-order filters. Adding more poles and more gain to the closedloop transfer function reduces the inherent stability of the loop. Thus the designer must exercise extreme care and utilize complex stability analysis if second-order (and higher) filters or active filters are to be considered.
SL01017
Figure 7. Typical PLL Frequency-to-Voltage Transfer Characteristics
.com
1988 Dec
7
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
Figure 7 shows the typical frequency-to-voltage transfer characteristics of the PLL. The input is assumed to be a sine wave whose frequency is swept slowly over a broad frequency range. The vertical scale is the corresponding loop error voltage. In Figure 7a, the input frequency is being gradually increased. The loop does not respond to the signal until it reaches a frequency 1, corresponding to the lower edge of the capture range. Then, the loop suddenly locks on the input and causes a negative jump of the loop error voltage. Next, Vd varies with frequency with a slope equal to the reciprocal of VCO conversion gain (1/Ko) and goes through zero as I = O'. The loop tracks the input until the input frequency reaches 2, corresponding to the upper edge of the lock range. The PLL then loses lock and the error voltage drops to zero. If the input frequency is swept slowly back, the cycle repeats itself, but is inverted, as shown in Figure 7b. The loop recaptures the signal at 3 and tracks it down to 4. The total capture and lock ranges of the system are: 2w C + w 3 * w 1 and 2w L + w 2 * w 4 (28) (27)
Both equations are second-order and have the same denominator which can be expressed as D(s) + s 2 ) st
1
)
KV t
1
+ s2 )
2z w ns )
w2 n
(35)
Where n and are, respectively, the system's undamped natural frequency and damping factor defined as wn + z+ 1 K Vt KV t
1
(36) wn 2K V (37)
+
1
The system is considered overdamped for > 1.0, and critically damped = 1.0. Now examine this PLL system's response to various types of inputs.
Step-of-Phase Input
SL01018
t4U.com
Note that, as indicated by the transfer characteristics of Figure 7, the Figure 8. Input Signal Representing a Unit Step of Phase at PLL system has an inherent selectivity about the free-running Constant Frequency frequency, O'. It will respond only to the input signal frequencies that are separated from O' by less than C or L, depending on Consider a unit step-of-phase as the input signal. This input is whether the loop starts with or without an initial lock condition. The shown in Figure 8 and can be thought of as simply shifting the time linearity of the frequency-to-voltage conversion characteristics for .com unit step (one radian or one degree, depending upon the axis by a the PLL is determined solely by the VCO conversion gain. working units) while maintaining the same input frequency. Therefore, in most PLL applications, the VCO is required to have a Mathematically this input has the form highly linear voltage-to-frequency transfer characteristic. (38) q i(s) + 1 s The phase of VCO output and the system's phase error are DETERMINING LOOP RESPONSE represented by The transient response of a PLL can be calculated using the model of Figure 4 and Equations 18 and 19 as starting points. Combining H(s) wn2 (39) q o(s) + s + these equations gives s(s 2 ) 2zw ns ) w n 2 H(s) + K VF(s) q o(s) + q i(s) s ) K VF(s) (29) q o(s) + E(s) s ) 2zw s + s 2 ) 2zw ns )
n
e DataShe
wn2
(40)
The phase error which keeps the system in lock is q e(s) + q i(s) * q o(s) Define a phase error transfer function E(s) ) q e(s) q (s) +1* o + 1 * H(s) q i(s) q i(s) (31) (30)
(depending upon the working units) while maintaining the same input frequency. Mathematically this input has the form q o(t) + 1 ) e * z w nt 1*z
2
sin (w nt 1 * z
2
2
)
Y
(41)
where Y and 1. q e(t) +
+ arc tan
As an example of the utilization of these equations, consider the most common case of a loop employing a simple first-order lag filter where F(s) + 1) 1 st
1
1 *z z
(42)
(32)
e * z w n(t) sin(w nt 1 * z 1 *z 2
2
)
Y
(43)
For this filter, Equations 29 and 31 become H(s) + E(s) + s) KV t st1)
1
When = 1, these phase responses are q o(t) + 1 * (1 * w nt)e * w nt (44) (33)
KV p
1
and q e(t) + (1 ) w nt)e * w nt (45)
.com
s(s ) S) st
1
1 t 1) ) KV t
(34)
1
1988 Dec
8
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
in FSK and modem applications. For this input, as shown in Figure 10, q i(s) + 1 s2 The VCO output phase is q o(s) + s 2(s 2 ) wn2 2z w ns ) w n 2) (49)
(50)
The time expression for the VCO phase change is 2z q o(t) + t * w ) n for 1.
SL01019
e * w nt z wn 1 * z
2
sin (w nt 1 * z
2
)
2Y
(51)
Figure 9. VCO Phase and Loop Phase Error Transient Responses for Various Damping Factors Figure 9 is a plot of the VCO phase response and the phase error transient for various damping factors. Note from this figure that an underdamped system has overshoot which can cause the loop to break lock if this overshoot is too large. The critical condition for maintaining lock is to keep the phase error within the dynamic range for the phase comparator of -/2 to 2 radians. For the underdamped case, the peak phase-error overshoot is q e(max) + e * pz u 1*z
2
The time expression for the VCO frequency change for a unit step-of-frequency input is the same as the time response VCO phase change due to a step-of-phase input (Equation 41), or O(t) for frequency step input = o(t) for phase step input. Thus w o(t) + 1 ) for 1. e * w nt z 1 *z
2
sin (w nt 1 * z
2
)
Y
(52)
t4U.com
Unit Ramp-of-Frequency Input
(46)
e DataShe
which must be less than /2 to maintain lock. Lock can also be broken for the overdamped and critically-damped loops if the input phase shift is too large where the phase error exceeds /2 radians.
.com
SL01021
The analysis and equations given are based upon the small-signal model of Figure 4. If the signal amplitudes become too large, one or more functional blocks in the system can saturate, causing a slew rate type limiting action that may break lock. The transient change in the VCO frequency due to the unit step-of-phase input can be found by taking the time derivative of Equation 41 or alternatively by finding the inverse Laplace transform of w o(s) + sq o(s) + which is w O(t) + w ne * z w nt 1 *z
2
Figure 11. Input Signal for a Unit Ramp-of-Frequency Input This form of input signal represents sweeping the input frequency at a constant rate and direction as shown in Figure 11. The amplitude and phase of the input remain constant; the input frequency changes linearly with time. Since the input signal to the PLL model is a phase, a unit ramp-of-frequency appears as a phase acceleration type input that can be mathematically described as q i(s) + 1 s3 The VCO output phase change is q o(s) + s 3(s 2 ) wn 2 2z w ns ) wn2 (54) (53)
s2 )
wn 2 2z w ns )
wn 2
(47)
sin w nt 1 * z
2
(48)
The time expression for the VCO phase change is
2 2z t q o(s) + t * w ) n 2
Unit Step-of-Frequency Input
2z [2z (1 * w n 2) ) wn2 4z 2w n 4
2 1 2
(55)
1 * 4z 2w n 2 ) 1*z
SL01020
x e *zw whereY + arc tan
nt
sin(w nt
2 2
1 *z Y
2
)
Y
Figure 10. Input Signal for a Unit Step-of-Frequency at Constant Phase This type of input occurs when the input frequency is instantaneously changed from one frequency to another as is done .com
1 *z
z (1 * 2w n
)
and y is given in Equation 42.
1988 Dec
9
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
PLL BUILDING BLOCKS VCO
Since three different forms of VCO have been used in the Philips Semiconductors PLL series, the VCO details will not be discussed until the individual loops are described. However, a few general comments about VCOs are in order. When the PLL is locked to a signal, the VCO voltage is a function of the frequency of the input signal. Since the VCO control voltage is the demodulated output during FM demodulation, it is important that the VCO voltage-to-frequency characteristic be linear so that the output is not distorted. Over the linear range of the VCO, the conversin gain is given by KO (in radian/V-sec) KO Dw O + DV d (56)
Since the circuit is called a multiplier, performing the multiplication will gain further insight into the action of the phase comparator. Consider an input signal which consists of two added components: a component at frequency I which is close to the free-running frequency and a component at frequency K which may be at any frequency. The input signal is v i(t) ) v k(t) + V I sin(w it ) q i) ) v k sin(w kt ) w k) (59)
where i and k are the phase in relation to the VCO signal. The unity square wave developed in the multiplier by the VCO signal is v o(t) + R 4 S n + 0 p (2n ) sin[(2n ) 1)w ot] (60)
1)
Since the loop output voltage is the VCO voltage, we can get the loop output voltage as DV d + Dw O KO (57)
where O is the VCO frequency. Multiplying the two terms, using the appropriate trigonometric relationships, and inserting the differential stage gain Ad gives: 2A v e(t) + p d [ VI S cos[(2n ) n + 0 (2n ) 1) R VI S cos[(2n ) n + 0 (2n ) 1) Vk S cos[(2n ) n + 0 (2n ) 1) R R 1) w Ot * w It * q i] 1) w Ot ) w It ) q i] (61)
The gain KO can be found from the data sheet. When the VCO voltage is changed, the frequency change is virtually instantaneous.
Phase Comparator
t4U.com
All of Philips Semiconductors analog phase-locked loops use the same form of phase comparator -- often called the doubly-balanced multiplier or mixer. Such a circuit is shown in Figure 12.
* )
1) w Ot * w It * q i] 1) w Ot ) w It ) q i] ]
e DataShe
.com
-
R Vk S cos[(2n ) n + 0 (2n ) 1)
Assuming that temporarily Vk is zero, if I is close to O, the first term (n = 0) has a low frequency difference frequency component. This is the beat frequency component that feeds around the loop and causes lock-up by modulating the VCO. As O is driven closer to I, this difference component becomes lower and lower in frequency until O = I and lock is achieved. The first term then becomes V e(t) + V E + 2A dV I cos q i p (2n ) 1) (62)
SL01022
Figure 12. Integrated Phase Comparator Circuit The input stage formed by transistors Q1 and Q2 may be viewed as a differential amplifier which has an equivalent collector resistance RC and whose differential gain at balance is the ratio of RC to the dynamic emitter resistance, re, of Q1 and Q2.
R
which is the usual phase comparator formula showing the DC component of the phase comparator during lock. This component must equal the voltage necessary to keep the VCO at O. It is possible for O to equal I momentarily during the lock-up process and, yet, for the phase to be incorrect so that O passes through I without lock being achieved. This explains why lock is usually not achieved instantaneously, even when I = O at t=0. If n 0 in the first term, the loop can lock when I = (2n + 1)O, giving the DC phase comparator component V e(t) + V E + 2A dV I cos q i p (2n ) 1) (63)
Ad
R RI + r C + 0.026 + C E 0.052 e IE 2
C
(58)
where IE is the total DC bias current for the differential amplifier pair. The switching stage formed by Q3 - Q6 is switched on and off by the VCO square wave. Since the collector current swing of Q2 is the negative of the collector current swing of Q1, the switching action has the effect of multiplying the differential stage output first by +1 and then by -1. That is, when the base of Q4 is positive, R .comI1 and when the base of Q6 is positive, RC2 receives i2 =C2. receives i1
showing that the loop can lock to odd harmonics of the free-running frequency. The (2n + 1) term in the denominator shows that the phase comparator's output is lower for harmonic lock, which explains why the lock range decreases as higher and higher odd harmonics are used to achieve lock. Note also that the phase comparator's output during lock is (assuming Ad is constant) also a function of the input amplitude Vl.
1988 Dec
10
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
Thus, for a given DC phase comparator output VE, an input amplitude decrease must be accompanied by a phase change. Since the loop can remain locked only for i between 0 and 180, the lower Vl becomes, the more the lock range is reduced. Note from the second term that during lock the lowest possible frequency is O + I = 2I. A sum frequency component is always present at the phase comparator output. This component is usually greatly attenuated by the low-pass filter capacitor connected to the phase comparator output. However, when rapid tracking is required (as with high-speed FM detection or FSK), the requirement for a relatively high frequency cutoff in the low-pass filter may leave this component unattenuated to the extent that it interferes with detection. At the very least, additional filtering may be required to remove this component. Components caused by n 0 in the second term are both attenuated and of much higher frequency, so they may be neglected. Suppose that other frequencies represented by Vk are present. What is their effect for Vk 0?
Quadrature-Phase Detector (QPD)
The quadrature-phase detector action is exactly the same except that its output is proportional to the sine of the phase angle. When the phase i is 90, the quadraturephase detector output is then at its maximum, which explains why it makes a useful lock or amplitude detector. The output of the quadrature-phase detector is given by Vq + 2A qV I sin q i p (64)
where Vl is the constant or modulated AM signal and i 90 in most cases so that sine i = 1 and Vq + 2A qV I p (65)
This is the demodulation principle of the autodyne receiver and the basis for the 567 tone decoder operation.
INITIAL PLL SETUP CHOICES The third term shows that Vk introduces another difference In a given application, maximum PLL effectiveness can be achieved frequency component. Obviously, if k is close to I, it can interfere if the designer understands the tradeoffs which can be made. with the locking process since it may form a beat frequency of the Generally speaking, the designer is free to select the frequency, lock same magnitude as the desired locking beat frequency. However, range, capture range, and input amplitude. suppose lock has been achieved so that O = I. In order for lock to be maintained, the average phase comparator output must be t4U.com constant. If O = k is relatively low in frequency, the phase i must FREE-RUNNING FREOUENCY SELECTION change to compensate for this beat frequency. Broadly speaking, Setting the center or free-running frequency is accomplished by any signal in addition to the signal to which the loop is locked .com one or two external components. The center frequency is selecting causes a phase variation. Usually this is negligible since k is often usually set in the center of the expected input frequency range. far removed from I. However, it has been stated that the phase i Since the loop's ability to capture is a function of the difference can move only between 0 and 180. Suppose the phase limit has between the incoming and free-running frequencies, the band edges been reached and Vk appears. Since it cannot be compensated for, of the capture range are always an equal distance (in Hz) from the it will drive the loop out of lock. This explains why extraneous center frequency. Typically, the lock range is also centered about signals can result in a decrease in the lock range. If Vk is assumed the free-running frequency. Occasionally, the center frequency is to be an instantaneous noise component, the same effect occurs. chosen to be offset from the incoming frequency so that the tracking When the full swing of the loop is being utilized, noise will decrease range is limited on one side. This permits rejection of an adjacent the lock or tracking range. This effect can be reduced by decreasing higher or lower frequency signal without paying the penalty for the cutoff frequency of the lowpass filter so that the O - k is narrow-band operation (reduced tracking speed). attenuated to a greater extent, which illustrates that noise immunity and out-band frequency rejection is improved (at the expense of All of Philips Semiconductors loops use a phase comparator in capture range since O - I is likewise attenuated when the which the input signal is multiplied by a unity square wave at the low-pass filter capacitor is large. VCO frequency. The odd harmonics present in the square wave permit the loop to lock to input signals at these odd harmonics. The third term can have a DC component when k is an odd Thus, the center frequency may be set to, say, 1/3 or 1/5 of the input harmonic of the locked frequency so that (2n + 1) (O - I) is zero signal. The tracking range, however, will be considerably reduced and k makes its appearance. This will have an effect on 1 which as the higher harmonics are utilized. will change the 1 versus frequency I. This is most noticeable when the waveform of the incoming signal is, for example, a square The foregoing phase comparator discussion would suggest that the wave. The k term will combine with the 1 term so that the phase is PLL cannot lock to subharmonics because the phase comparator a linear function of input frequency. Other waveforms will give cannot produce a DC component if I is less than O. different phase versus frequency functions. When the input The loop can lock to both odd harmonic and subharmonic signals in amplitude Vl is large and the loop gain is large, the phase will be practice because such signals often contain harmonic components close to 90 throughout the range of VCO swing, so this effect is at O. For example, a square wave of fundamental O/3 will have a often unnoticed. substantial component at O to which the loop can lock. Even a The fourth term is of little consequence except that if k approaches pure sine wave input signal can be used for harmonic locking if the zero, the phase comparator output will have a component at the PLL input stage is overdriven. (The resultant internal limiting locked frequency O at the output. For example, a DC offset at the generates harmonic frequencies.) Locking to even harmonics or input differential stage will appear as a square wave of fundamental subharmonics is the least satisfactory, since the input or VCO signal O at the phase comparator output. This is usually small and well must contain second harmonic distortion. If locking to even attenuated by the low-pass filter. Since many out-band signals or harmonics is desired, the duty cycle of the input and VCO signals noise components may be present, many Vk terms may be must be shifted away from the symmetrical to generate substantial, combining to influence locking and phase during lock. Fortunately, .com even harmonic, content. only those close to the locked frequency need be considered.
1988 Dec 11
e DataShe
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
In evaluating the loop for a potential application, it is best to actually compute the magnitude of the expected signal component nearest O. This magnitude can be used to estimate the capture and lock ranges. All of Philips Semiconductors loops are stabilized against center frequency drift due to power supply variations. Both the 565 and the 567 are temperature-compensated over the entire military temperature range (-55 to +125C). To benefit from this inherent stability, however, the designer must provide equally stable (or better) external components. For maximum cost effectiveness in some non-critical applications, the designer may wish to trade some stability for lower cost external components.
INPUT LEVEL AMPLITUDE SELECTION
Whenever amplitude limiting of the in-band signal occurs, whether in the loop input stages or prior to the input, the lock and capture ranges become independent of signal amplitude. Better noise and out-band signal immunity is achieved when the input levels are below the limiting threshold, since the input stage is in its linear region and the creation of cross-modulation components is reduced. Higher input levels will allow somewhat faster operation due to greater phase comparator gain and will result in a lock range which becomes constant with amplitude as the phase comparator gain becomes constant. Also, high input levels will result in a linear phase versus frequency characteristic.
GUIDELINES FOR LOCK RANGE CONTROL
CAPTURE RANGE CONTROL
t4U.com
Two things limit the lock range. First, any VCO can swing only so There are two main reasons for making the low-pass filter time far; if the input signal frequency goes beyond this limit, lock will be constant large. First, a large time constant provides an increased lost. Second, the voltage developed by the phase comparator is memory effect in the loop so that it remains at or near the operating proportional to the product of both the phase and the amplitude of frequency during momentary fading or loss of signal. Second, the the in-band component to which the loop is locked. If the signal large time constant integrates the phase comparator's output so that amplitude decreases, the phase difference between the signal and increased immunity to noise and out-band signals is obtained. the VCO must increase in order to maintain the same output voltage Besides the lower tracking rates attendant to large loop filters, other and, hence, the same frequency deviation. The 564 contains an penalties must be paid for the benefits gained. The capture range is internal limiter circuit between the signal input and one input to the reduced and the capture transient becomes longer. Reduction of phase comparator. This circuit limits the amplitude of large input capture range occurs because the loop must utilize the magnitude of signals such as those from TTL outputs to approximately 100mV the difference frequency component at the phase comparator to before they are applied to the phase comparator. The limiter drive the VCO towards the input frequency. significantly improves the AM rejection of the PLL for input signal .com amplitudes greater than 100mV. If the LPF cutoff frequency is low, the difference component This happens so often with low input amplitudes that even the full 90 phase range of the phase comparator cannot generate enough voltage to allow tracking wide deviations. When this occurs, the effective lock range is reduced. Weak input signals cause a reduction of tracking capability and greater phase errors. Conversely, a strong input signal will allow the use of the entire VCO swing capability and keeps the VCO phase (referred to the input signal) very close to 90 throughout the range. Note that the lock range does not depend on the low-pass filter. However, if a low-pass filter is in the loop, it will have the effect of limiting the maximum rate at which tracking can occur. Obviously, the LPF capacitor voltage cannot change instantly, so lock may be lost when large enough step changes occur. Between the constant frequency input and the step-change frequency input is some limiting frequency slew rate at which lock is just barely maintained. When tracking at this rate, the phase difference is at its limit of 0 or 180. It can be seen that if the LPF cutoff frequency is low, the loop will be unable to track as fast as if the LPF cutoff frequency is higher. Thus, when maximum tracking rate is needed, the LPF should have a high cutoff frequency. However, a high cutoff frequency LPF will attenuate the sum frequencies to a lesser extent so that the output contains a significant and often bothersome signal at twice the input frequency. The phase comparator's output contains both sum and difference frequencies. During lock, the difference frequency is zero, but the sum frequency of twice the locked frequency is still present. This sum frequency component can then be filtered out with an external low-pass filter. amplitude is reduced and the loop cannot swing as far. Thus, the capture range is reduced.
e DataShe
LOCK-UP TIME AND TRACKING SPEED CONTROL
In tracking applications, lock-up time is normally of little consequence, but occasions do arise when it is desirable to keep lock-up time short to minimize data loss when noise or extraneous signals drive the loop out of lock. Lock-up time is of great importance in tone decoder type applications. Tracking speed is important if the loop is used to demodulate an FM signal. Although the following discussion dwells largely on lock-up time, the same comments apply to tracking speeds. No simple expression is available which adequately describes the acquisition or lock-up time. This may be appreciated when we review the following factors which influence lock-up time. a. Input phase b. Low-pass filter characteristic c. Loop damping d. Deviation of input frequency from center frequency e. In-band input amplitude f. Out-band signals and noise g. Center frequency
.com
1988 Dec
12
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
Fortunately, it is usually sufficient to know how to improve the lock-up time and what must be sacrificed to get faster lock-up. Consider an operational loop or tone decoder where occasionally the lock-up transient is too long. What can be done to improve the situation -- keeping in mind the factors that influence lock?
gain reduction to control bandwidth or capture and lock ranges achieves better damping for narrow bandwidth operation. The penalty for this damping is that more phase comparator output is required for a given deviation so that phase errors are greater and noise immunity is reduced. Also, more input drive may be required for a given deviation. d. Input frequency deviation from free-running frequency -- Naturally, the further an applied input signal is from the free-running frequency of the loop, the longer it will take the loop to reach that frequency due to the charging time of the low-pass filter capacitor. Usually, however, the effect of this frequency deviation is small compared to the variation resulting from the initial phase uncertainty. Where loop damping is very low, however, it may be predominant. e. In-band input amplitude -- Since input amplitude is one factor in the phase comparator's gain Kd, and since Kd is a factor in the loop gain Kv damping is also a function of input amplitude. When the input amplitude is low, the lock-up time may be limited by the rate at which the low-pass capacitor can charge with the reduced phase comparator output (see d above). f. Out-band signals and noise -- Low levels of extraneous signals and noise have little effect on the lock-up time, neither improving or degrading it. However, large levels may overdrive the loop input stage so that limiting occurs, at which point the in-band signal starts to be suppressed. The lower effective input level can cause the lock-up time to increase, as discussed in e above.
SL01023
Figure 13. Probability of Lock vs Input Cycles
t4U.com
a. Initial phase relationship between incoming signal and VCO -- This is the greatest single factor influencing the lock time. If the initial phase is wrong, it first drives the VCO frequency away g. Center .com frequency -- Since lock-up time can be described in from the input frequency so that the VCO frequency must walk terms of the number of cycles to lock, fastest lock-up is achieved back on the beat notes. Figure 13 gives a typical distribution of at higher frequencies. Thus, whenever a system can be lock-up times with the input pulse initiated at random phase. The operated at a higher frequency, lock will typically take place only way to overcome this variation is to send phase information faster. Also, in systems where different frequencies are being all the time so that a favorable phase relationship is guaranteed detected, the higher frequencies, on the average, will be at t = 0. For example, a number of PLLs or tone decoders may detected before the lower frequencies. be weakly locked to low amplitude harmonics of a pulse train and However, because of the wide variation due to initial phase, the the transmitted tone phase related to the same pulse train. reverse may be true for any single trial. Usually, however, the incoming phase cannot be controlled. b. Low-pass filter -- The larger the low-pass filter time constant, the longer will be the lock-up time. The lock-up time can be reduced by decreasing the filter time constant, but in doing so, some of the noise immunity and out-band signal rejection will be sacrificed. This is unfortunate, since this is what necessitated the use of a large filter in the first place. Also present will be a sum frequency (twice the VCO frequency) component at the low pass filter and greater phase jitter resulting from out-band signals and noise. In the case of the tone decoder (where control of the capture range is required since it specifies the device bandwidth) a lower value of low-pass capacitor automatically increases the bandwidth. Speed is gained only at the expense of added bandwidth. c. Loop damping -- A simple first-order lowpass filter of the form F(s) + 1) 1 st (66)
e DataShe
PLL MEASUREMENT TECHNIQUES
This section deals with measurements of PLL operation. The techniques suggested are meant to help the designer in evaluating the performance of the PLL during the initial setup period as well as to point out some pitfalls that may obscure loop evaluation. Recognizing that the test equipment may be limited, techniques are described which require a minimum of standard test items. The majority of the PLL tests described can be done with a signal generator, a scope and a frequency counter. Most laboratories have these. A low cost digital voltmeter will facilitate accurate measurement of the VCO conversion gain. Where the need for a FM generator arises, it may be met in most cases by the VCO of a Philips Semiconductors PLL. Any of the loops may be set up to operate as a VCO by simply applying the modulating voltage to the low-pass filter terminal(s). The resulting generator may be checked for linearity by using the counter to check frequency as a function of modulating voltage. Since the VCOs may be modulated right down to DC, the calibration may be done in steps. Moreover, loop measurements may be made by applying a constant frequency to the loop input and the modulating signal to the low-pass filter terminal to simulate the effect of a FM input so that an FM generator may be omitted for many measurements.
produces a loop damping of z +12 1 p KV (67)
.com
Damping can be increased not only by reducing , as discussed above, but also by reducing the loop gain KV. Using the loop
1988 Dec
13
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
FREE-RUNNING FREQUENCY
Free-running frequency measurements are easily made by connecting a frequency counter or oscilloscope to the VCO output of the loop. The loop should be connected in its final configuration with the chosen values of input, bypass, and low-pass filter capacitors. No input signal should be present. As the free-running frequency is read out, it can be adjusted to the desired value by the adjustment means selected for the particular loop. It is important not to make the frequency measurement directly at the timing capacitor, unless the capacity added by the measurement probe is much less than the timing capacitor value, since the probe capacity will then cause a frequency error. When the frequency measurement is to be converted to a DC voltage for production readout or automated testing, a calibrated phase-locked loop can be used as a frequency meter.
By using the sweep technique, the effect on free-running frequency, capture range, and lock range of the input amplitude, supply voltage, low-pass filter and temperature can be examined. Because of the lock-up time duration and variation, the sweep frequency must be much lower than the free-running frequency, especially when the capture range is below 10% of the free-running frequency. Otherwise, the apparent capture and lock range will be functions of sweep frequency. It is best to start sweeping as slowly as possible and, if desired, increase the rate until the capture range begins to show an apparent reduction -- indicating that the sweep is too fast. Typical sweep frequencies are in the range of 1/1000 to 1/100,000 of the free-running frequency. In the case of the 567, the quadrature detector output may be similarly displayed on the Y axis, as shown in Figure 15, showing the output level versus frequency for one value of input amplitude.
CAPTURE AND LOCK RANGES
t4U.com
e DataShe
.com
SL01025
a. Measurement Setup
Figure 15. Quadrature-Phase Detector and Phase Comparator Outputs of the NE567 PLL Capture and lock range measurements may also be made by sweeping the generator manually through the band of interest. Sweeping must be done very slowly as the edges of the capture range are approached (sweeping toward center frequency) or the lock-up transient delay will cause an error in reading the band edge. Frequency should be read from the generator rather than the loop VCO because the VCO frequency gyrates wildly around the center frequency just before and after lock. Lock and unlock can be readily detected by simultaneously monitoring the input and VCO signals, the DC voltage at the low-pass filter, or the AC beat frequency components at the low-pass filter. The latter are greatly reduced during lock as opposed to frequencies just outside of lock.
b. Oscilloscope Display
SL01024
Figure 14. Capture and Lock Ranges
FM AND AM DEMODULATION DISTORTION
Figure 14a shows a typical measurement setup for capture and lock range measurements. The signal input from a variable frequency oscillator is swept linearly through the frequency range of interest and the loop FM output is displayed on a scope or (at low frequencies) X-Y recorder. The sweep voltage is applied to the X axis. Figure 14b shows the type of trace which results. The lock range is given by the outer lines on the trace, which are formed as the incoming frequency sweeps away from the center frequency. The inner trace, formed as the frequency sweeps toward the center frequency, designates the capture range. Linearity of the VCO is revealed by the straightness of the trace portion within the lock range. The slope (f/V) is the conversion gain Ko for the VCO at .com the particular free-running frequency. These measurements are quite straight-forward. The loop is simply set up for FM detection and the test signal is applied to the input. A spectrum analyzer or distortion analyzer (HP333A) can be used to measure distortion at the FM output. For FM demodulation, the input signal amplitude must be large enough so that lock is not lost at the frequency extremes. The data sheets give the lock (or tracking) range as a function of input signal and the optional range control adjustments. Due to the inherent linearity of the VCOs, it makes little difference whether the FM carrier is at the free-running frequency or offset slightly as long as the tracking range limits are not exceeded. The faster the FM modulation in relation to the center frequency, the lower the value of the capacitor in the low pass filter must be for
1988 Dec
14
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
satisfactory tracking. As this value decreases, however, it attenuates the sum frequency component of the phase comparator output less. The demodulated signal will appear to have greater distortion unless this component is filtered out before the distortion is measured.
NATURAL FREQUENCY AND DAMPING
Circuits and mathematical expressions for the natural frequencies and dampings are given in Figure 16 for two first-order low-pass filters. Because of the integrator action of the PLL in converting frequency to phase, the order of the loop always will be one greater than the order of the LPF. Hence, both these first-order LPFs produce a second-order PLL system.
Circuit IN R1 OUT C IN R1 Circuit OUT R2 C
SL01027
Figure 17. Measurement Setup for Display of PLL Transient Response Damping is a function of Kd, Ko, and the lowpass filter. Since Ko and Kd are functions of the free-running frequency and input amplitude, respectively, damping is highly dependent on the particular operating condition of the loop. Damping estimates for the desired operating condition can be made by applying an input signal which is frequency-modulated within the lock range by a square wave. The low-pass filter voltage is then monitored on an oscilloscope which is synchronized to the modulating waveform, as shown in Figure 17. Figure 18 shows typical waveforms displayed. The loop damping can be estimated by comparing the number and magnitude of the overshoots with the graph of Figure 19, which gives the transient phase error due to a step in input frequency. An expression for calculating the damping for any underdamped second-order system ( < 1.0) when the normalized peak overshoot is known is Mp + 1 ) e *zp
1*z 2
t 1 + R 1C
t 1 + R 1C t 2 + R 2C
Transfer Function 1 F(s) + 1 ) st 1 Natural Frequency K oK d t1
Transfer Function 1 ) st 2 F(s) + 1 ) s (tau 1 ) Natural Frequency wn + K oK d t1) t2
t 2)
t4U.com
wn +
e DataShe
z+
Damping wn 2K oK d
z+
Damping wn (t 2 ) 2
1 ) K oK d
.com
(68)
a. Simple
a. Lag-Lead
SL01026
Figure 16. First-Order Low-Pass Filters The natural frequency (n) of a loop in its final circuit configuration can be measured by applying a frequency-modulated signal of the desired amplitude to the loop. Figure 16 shows that the natural frequency is a function of Kd, which is, in turn, a function of input amplitude. As the modulation frequency (m) is increased, the phase relationship between the modulation and recovered sine wave will go through 90 at m = n and the output amplitude will peak.
Examination of Figure 18 shows that the normalized peak overshoot of the error voltage is approximately 1.4. Using this value for Mp in Equation 68 gives a damping of 0.28. Another way of estimating damping is to make use of the frequency response plot measured for the natural frequency (n) measurement. For low damping constants, the frequency response measurement peak will be a strong function of damping. For high damping constants, the 3dB down point will give the damping. Figure 19 tabulates some approximate relationships.
.com
1988 Dec
15
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
a. Underdamped with 0.28
Damped with 1.0
b. Critically
t4U.com
c. Overdamped with 10
d. Highly Overdamped with > 10
SL01028
e DataShe
Figure 18. Transient Response of PLL Error Voltage to Square Wave Frequency Modulation for Various Damping Conditions .com
a. Transient Phase Error as an Indication of Damping
b. Ratio of Peak Amplitude to Low Frequency Amplitude of Error Voltage From Modulating Frequency Response
SL01029
Figure 19. Estimating the Damping in a Second-Order PLL
NOISE
The effect of input noise on loop operation is very difficult to predict. Briefly, the input noise components near the center frequency are converted to phase noise. When the phase noise becomes so great that the +905 permissible phse variation is exceeded, the loop drops out of lock or fails to acquire lock. The best techniques is to actually apply the anticipated noise amplitude and badwidth to the input and then perform the capture and lock range measurements as well as perform operating tests with the anticipated input level and modulation deviations. By including a small safety factor in the loop .com compensate for small processing variations, satisfactory design to operation can be assured.
1988 Dec
16
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
NOTES
t4U.com
e DataShe
.com
.com
1988 Dec
17
.com
DataSheet 4 U .com
www..com
Philips Semiconductors Application note
Modeling the PLL
AN178
t4U.com
.com
Philips Semiconductors and Philips Electronics North America Corporation reserve the right to make changes, without notice, in the products, including circuits, standard cells, and/or software, described or contained herein in order to improve design and/or performance. Philips Semiconductors assumes no responsibility or liability for the use of any of these products, conveys no license or title under any patent, copyright, or mask work right to these products, and makes no representations or warranties that these products are free from patent, copyright, or mask work right infringement, unless otherwise specified. Applications that are described herein for any of these products are for illustrative purposes only. Philips Semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification. LIFE SUPPORT APPLICATIONS Philips Semiconductors and Philips Electronics North America Corporation Products are not designed for use in life support appliances, devices, or systems where malfunction of a Philips Semiconductors and Philips Electronics North America Corporation Product can reasonably be expected to result in a personal injury. Philips Semiconductors and Philips Electronics North America Corporation customers using or selling Philips Semiconductors and Philips Electronics North America Corporation Products for use in such applications do so at their own risk and agree to fully indemnify Philips Semiconductors and Philips Electronics North America Corporation for any damages resulting from such improper use or sale. Philips Semiconductors 811 East Arques Avenue P.O. Box 3409 Sunnyvale, California 94088-3409 Telephone 800-234-7381 Philips Semiconductors and Philips Electronics North America Corporation register eligible circuits under the Semiconductor Chip Protection Act. (c) Copyright Philips Electronics North America Corporation 1988 All rights reserved. Printed in U.S.A.
.com
Philips Semiconductors
18
1988 Dec
.com
DataSheet 4 U .com


▲Up To Search▲   

 
Price & Availability of AN178

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X